package com.tbit.uqbike.service.business;

import com.tbit.uqbike.object.pojo.dto.*;
import com.tbit.uqbike.object.pojo.vo.GiftCardDetailVO;
import com.tbit.uqbike.object.pojo.vo.GiftCardIncomeVO;
import com.tbit.uqbike.object.pojo.vo.GiftCardTotalDetailVO;
import com.tbit.uqbike.object.pojo.vo.GiftCardTotalIncomeVO;
import com.tbit.common.entity.view.PageResult;

import java.io.File;
import java.util.List;

/**
 * 财务统计-礼品卡金额统计
 *
 * @AUTHOR: wei.xing
 * @DATE: 2022-11-18 08:52
 **/
public interface GiftCardStatService {


    Long getLastTime(List<Integer> accountIdList);


    GiftCardTotalDetailVO getTotalDetail(StatDetailDTO dto);


    PageResult<GiftCardDetailVO> getDetailPage(StatDetailPageDTO dto);

    String exportDetail(StatDetailDownloadDTO dto);


    GiftCardTotalIncomeVO getTotalIncome(GiftCardIncomeDTO dto);


    PageResult<GiftCardIncomeVO> getIncomePage(GiftCardIncomePageDTO dto);

    String exportIncome(GiftCardIncomeDownloadDTO dto);

    File exportIncome(GiftCardIncomeDownloadDTO downloadDTO, File tempFile);
}
